package com.ssy.lingxi.pay.api.fallback;

import com.ssy.lingxi.common.exception.BusinessException;
import com.ssy.lingxi.common.response.ResponseCode;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.pay.api.dto.request.assetAccount.*;
import com.ssy.lingxi.pay.api.feign.IAssetAccountFeign;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 资金账户
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/9/24
 */
@Component
@Qualifier("assetAccountHystrix")
public class AssetAccountHystrix implements IAssetAccountFeign {
    @Override
    public Wrapper<String> saveMemberAssetAccount(List<MemberAssetAccountAddRequest> memberAssetAccountRequestList) {
        throw new BusinessException(ResponseCode.SERVICE_PAY_ERROR);
    }

    @Override
    public Wrapper<String> updateMemberAssetAccount(MemberAssetAccountUpdateRequest memberAssetAccountUpdateRequest) {
        throw new BusinessException(ResponseCode.SERVICE_PAY_ERROR);
    }

    @Override
    public Wrapper<String> balancePay(BalancePayRequest balancePayRequest) {
        throw new BusinessException(ResponseCode.SERVICE_PAY_ERROR);
    }

    @Override
    public Wrapper<String> balanceCashback(BalanceCashbackRequest balanceCashbackRequest) {
        throw new BusinessException(ResponseCode.SERVICE_PAY_ERROR);
    }

    @Override
    public Wrapper<Boolean> balanceRefund(BalanceRefundRequest balanceRefundRequest) {
        throw new BusinessException(ResponseCode.SERVICE_PAY_ERROR);
    }
}
